package com.summer.shopping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.summer.shopping.domain.table.Chat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.shopping.utils.Result;

import java.util.List;

/**
* @author 86136
* @description 针对表【chat】的数据库操作Service
* @createDate 2025-06-23 09:20:26
*/
public interface ChatService extends IService<Chat> {
    Result<?> getHistory(Long senderId, Long receiverId, Page<Chat> page);

    List<Long> getWhoUsed(Long userId);
}
